```typescript index.ts
// Create a session
const createSessionResponse = klarnaPayments.payment.createSession({
    acquiring_channel: "ECOMMERCE"
    client_token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ewogICJzZXNzaW9uX2lkIiA6ICIw"
    expires_at: "2038-01-19T03:14:07.000Z"
    locale: "en-US"
    merchant_data: "{\"order_specific\":[{\"substore\":\"Women's Fashion\",\"product_name\":\"Women Sweatshirt\"}]}"
    merchant_reference1: "ON4711"
    merchant_reference2: "hdt53h-zdgg6-hdaff2"
    order_amount: 2000
    order_tax_amount: 333
    purchase_country: "GB"
    purchase_currency: "GBP"
    status: "complete"
    intent: "buy"
})
```